package cn.sylinx.horm.example.benchmark.mybatis;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {

    public int deleteAllData();

    public UserMybatis getById(@Param("id") Long id);

    public List<UserMybatis> select(@Param("id") Long id, @Param("count") int count);

    public int update(@Param("id") Long id, @Param("userName") String userName, @Param("upass") String upass);

    public int save(UserMybatis user);

}
